home *** CD-ROM | disk | FTP | other *** search
INI File | 2002-07-19 | 1.2 KB | 108 lines |
- [switchs | switch statement]
- switch (|)
- {
- case : ;
- break;
- case : ;
- break;
- }
-
- [switche | switch statement (with default)]
- switch (|)
- {
- case : ;
- break;
- case : ;
- break;
- default: ;
- }
-
- [classd | class declaration (no parts)]
- public class |
- {
- };
-
- [fors | for (no opening/closing braces)]
- for (|; ;)
-
- [forb | for statement]
- for (|; ;)
- {
-
- }
-
- [for | for statement]
- for (int i = 0; i <|; i++)
- {
- }
-
- [function | function declaration]
- |()
- {
-
- }
-
- [ifs | if (no opening/closing braces)]
- if (|)
-
- [ifb | if statement]
- if (|)
- {
-
- }
-
- [ife | if (no opening/closing braces) else (no opening/closing braces)]
- if (|)
-
- else
-
- [ifeb | if else]
- if (|)
- {
-
- }
- else
- {
-
- }
-
- [trye | try catch]
- try
- {
- |
- }
- catch()
- {
- }
-
- [trycf | try catch finally]
- try
- {
- |
- }
- catch()
- {
- }
- finally
- {
- }
-
- [whileb | while statement]
- while (|)
- {
-
- }
-
- [whiles | while (no opening/closing braces)]
- while (|)
-
- [out | System.out.println]
- System.out.println
-
- [streamin | input from keyboard]
- BufferedReader streami = new BufferedReader(
- new InputStreamReader(System.in));
- |
-
- [fostream | file output stream]
- PrintWriter fostream = new PrintWriter(new FileWriter(|))